Provides an IEnumerator for items in the collection.
Namespace:
System.Collections.Concurrent
Assembly:
System.Threading (in System.Threading.dll)
Syntax
Visual Basic (Declaration) |
---|
Private Function GetEnumerator As IEnumerator
Implements IEnumerable.GetEnumerator |
C# |
---|
IEnumerator IEnumerable.GetEnumerator() |
Return Value
An
IEnumerator for the items in the collection.
Implements
IEnumerable..::.GetEnumerator()()()Exceptions
Exception | Condition |
---|
System..::.ObjectDisposedException | The BlockingCollection<(Of <(T>)>) has been disposed. |
See Also